package com.lee.boot.head.first.demo.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lee.boot.head.first.demo.entity.Role;
import com.lee.boot.head.first.demo.entity.User;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;


@Mapper
public interface UserMapper extends BaseMapper<User> {
    List<Role> listByUsername(String username);
}